home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Heaven
/
Business Heaven.iso
/
network
/
doc_proc
/
tapeinfo.doc
< prev
next >
Wrap
Text File
|
1992-11-08
|
10KB
|
122 lines
*************************************
* *
* T A P E I N F O *
* ON THE MVS/XA OPERATING SYSTEM *
* *
*************************************
John S. Ward
03/15/93
EJECT
There are now two ways to find information about your tapes: the
user-executed TINFO procedure and the Operator-started tape information
procedure.
USER-EXECUTED TINFO PROCEDURE
If you would like a list of the names of all the data sets on an
IBM standard-labeled tape, you can execute the TINFO procedure. Include
it in your JCL as follows:
//stepname EXEC TINFO,VOLSER=vvvvvv,DSN='data.set.name'
Where vvvvvv is the volume serial number of the tape, and
'data.set.name' is the name of the first data set on the tape (be sure
to enclose the data set name in apostrophes). The data set listing
will be at the end of the output job log (screen 3.8), under the title
TAPE DATA SET INFORMATION. Since nonlabeled tapes do not have data set
labels, you cannot use TINFO for nonlabeled tapes. If you are not sure
whether your tape has a standard label, or you do not know the name of
the first data set on the tape, then refer to the operator-started
procedure in the section below.
Remember to execute the VOLUP procedure before any job step requiring
a tape, or your job will be cancelled. For more information on VOLUP,
see SYS.MVS.UPDATE(VOLUP).
EXAMPLE: You want a list of the names of the data sets on a tape
that has a volser of 123456, and whose first data set name is
USERID.MY.TAPE.DATASET1. To find out, simply run a job containing at
least the following two steps:
//step1 EXEC VOLUP,VOLSER=123456,ACCESS=READ
//step2 EXEC TINFO,VOLSER=123456,DSN=USERID.MY.TAPE.DATASET1
Along with data set names, you will also get information such as
the data sets' record formats, creation dates, block counts, and
estimated lengths in feet.
OPERATOR-STARTED TAPE INFORMATION PROCEDURE
If the TINFO procedure does not give you the information that you
expected, or you do not know the name of the first data set on the
tape, or you are not sure whether your tape is a standard-labeled or a
nonlabeled tape, then you can have Operations run a special job for
you. Go to the the I/O window on the first floor of the BA building
and fill out a "run sheet", requesting that an OPRTINFO be run for you.
Include on the run sheet your userid, bin number, and the volser of
your tape. Operations will run the job and put the output in your bin.
On the banner page of the print, the userid will be 'OPRTINFO FOR
USER', and the jobname will be RACSYSTU. There is a 24-hour turnaround
time for this job.
If the tape has an internal (standard) label, then one of the pages
of output will have the title TAPE DATA SET INFORMATION, and underneath
it will be information on the contents of the tape, such as data set
names and block sizes. If the tape does not have an internal label,
then it will not have data set labels, and the last page of output will
have the title MVS/XA JOB OPRTINFO STEP OPRTINFO, and several lines
below it might appear the message
NOTE: NONSTANDARD LABEL FOUND WHILE READING VOLUME LABEL
Otherwise, no useful information will appear.